package cn.myra.testbefore;

import java.util.Arrays;

public class MyException extends Exception {

	public MyException(String message) {
		super(message);
		
	}

	public static MyException arrayOutOfRangeException(String message) {
		
		return new MyException(message);
	}

	public static MyException nullPointerException(String message) {
		return new MyException(message);
	}
	
	
}
